<?php session_start();?>
<?php
require_once("includes/commonIncludes.php");
require_once("includes/db.php");
$page = $_GET["p"];
if($page == null)
{
	$page = "main";
}

if (file_exists("content/$page.php"))
{
	include ("content/$page.php");
}
else
{
	include ("includes/404.php");
}
?>
